// AnsiLayer.h: interface for the CAnsiLayer class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ANSILAYER_H__84F5E6BA_4DAB_4799_A977_3F29BE80DB9D__INCLUDED_)
#define AFX_ANSILAYER_H__84F5E6BA_4DAB_4799_A977_3F29BE80DB9D__INCLUDED_

#include "ICharStreamFilter.h"
#include "AnsiSequenceCollection.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CAnsiLayer : public ICharStreamFilter 
{
protected:
	IAnsiScreen *m_pAnsiScreen;
	CAnsiSequenceCollection m_ansiSequenceCol;

protected:
	//char m_prevC;
	BOOL m_bFoundESC;
	BOOL m_bInSequence;
	CArray<char, char> m_sequenceBuf;

public:
	virtual BOOL EatChar(char &c);

public:
	CAnsiLayer(IAnsiScreen *pAnsiScreen);
	virtual ~CAnsiLayer();

//test
public:
	

};

#endif // !defined(AFX_ANSILAYER_H__84F5E6BA_4DAB_4799_A977_3F29BE80DB9D__INCLUDED_)
